package ssm.mapper;

import org.apache.ibatis.annotations.Param;
import ssm.pojo.Book;
import ssm.pojo.User;

import java.util.List;

public interface UserMapper {
    User getUser(String uname, String password);

    User getUserByName(@Param("uname") String uname);

    void addUser(User user);
}
